package com.xxg.renrenshoppingcart.domain.result;

import com.xxg.renrencommon.domain.bean.Product;
import com.xxg.renrenshoppingcart.dao.bean.ShopItem;
import com.xxg.renrenshoppingcart.dao.bean.SkuDetail;
import com.xxg.renrenshoppingcart.dao.bean.SkuItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.MongoId;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 购物车商品列表
 *
 * @author xxg
 * @date 2020/11/13
 */
@Data
@ApiModel(value = "CartProductResult", description = "购物车商品列表")
public class CartProductResult {
    /**
     * 店铺信息列表
     */
    @ApiModelProperty("店铺信息列表")
    private List<ShopItem> shopItems;
    /**
     * 店铺信息列表
     */
    @ApiModelProperty("失效商品店铺信息列表")
    private List<ShopItem> expireSkuShopItems;

    @ApiModelProperty("商品具体信息map 键 spuId_skuId")
    private Map<String, Product> skuDetail;

    @ApiModelProperty("正常商品数量，一个sku计1")
    private Integer skuCount;
}
